<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!--poster设置封面
loop设置循环播放 muted静音  autoplay自动播放(必须静音)
controls显示控制按钮

-->
<video  poster="https://ys.mihoyo.com/main/_nuxt/img/47f71d4.jpg"
       loop muted autoplay controls
       style=" width: 1328px; height: 747px;">
    <source src="https://ys.mihoyo.com/main/_nuxt/videos/3e78e80.mp4" type="audio/mp4">
    您的浏览器不支持播放此视频.
</video>
<h1>本地播放</h1>
<video  poster="bg.jpg"
        loop muted autoplay controls
        style=" width: 1328px; height: 747px;">
    <source src="bg.mp4" type="audio/mp4">
    您的浏览器不支持播放此视频.
</video>
</body>
</html>